package top.flvio.middleware.annotation;

import java.lang.annotation.*;

/**
 * @description: 路由注解
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.METHOD})
public @interface DBRouter
{
    /**
     * 分库分表字段
     */
    String key() default "";
}
